//
//  IMConfigManager.h
//  MLIM
//
//  Created by molon on 15/7/17.
//  Copyright (c) 2015年 molon. All rights reserved.
//

#import <Foundation/Foundation.h>

#define IMCONFIGM ([IMConfigManager manager])
@class IMCustomMessage;
@class IMMessageTableViewCell;
@interface IMConfigManager : NSObject

//图片包名字
@property (nonatomic, copy) NSString *imageBundleName;
//音频播放图片的包名
@property (nonatomic, copy) NSString *audioPlayImageBundleName;

//接收和发送者的文本颜色
@property (nonatomic, strong) UIColor *recevierTextColor;
@property (nonatomic, strong) UIColor *senderTextColor;
//接发者的audio duration文字颜色
@property (nonatomic, strong) UIColor *recevierAudioDurationTextColor;
@property (nonatomic, strong) UIColor *senderAudioDurationTextColor;

//接收和发送者的文本图的内边距
@property (nonatomic, assign) UIEdgeInsets recevierMessageBackgoundCapInsets;
@property (nonatomic, assign) UIEdgeInsets senderMessageBackgoundCapInsets;
//箭头的宽度
@property (nonatomic, assign) CGFloat messageBackgroundArrowWidth;

//会话列表的背景色
@property (nonatomic, strong) UIColor *backgroundColorForIMConversationListViewController;
//列表cell的背景色
@property (nonatomic, strong) UIColor *backgroundColorForIMConversationListCell;

//聊天窗口的背景色
@property (nonatomic, strong) UIColor *backgroundColorForIMConversationViewController;

@property (nonatomic, strong) UIColor *dateBackgroundColorForIMConversationViewController;
@property (nonatomic, strong) UIColor *dateColorForIMConversationViewController;

//没有会话时候的提示图像
@property (nonatomic, strong) UIImage *tipsImageWhenNoConversation;

/**
 *  自定义消息的简要说明
 */
@property (nonatomic, copy) id (^simpleDescriptionBlockOfCustomMessage)(IMCustomMessage *customMessage);

+ (instancetype)manager;

@end
